
<%
	Cookie[] cookies = request.getCookies();
	if (cookies != null) {
		for (Cookie c : cookies) {
			System.out.println(c.getName());
			System.out.println(c.getValue());
		}
	} else {
		System.out.println("no cookies");
	}
%>